package cn.jh.common.pay.jdpush;

/**
 * @author Yichuan
 * @version 1.0
 */
public enum FreeQuickRequestType {

    REGISTER_MERCHANT(1, "REGISTER_MERCHANT", "商户注册"),

    REGISTER_PRODUCT(2, "REGISTER_PRODUCT", "开通产品"),

    QUERY_SETTLE(3, "QUERY_SETTLE", "查询结算卡信息"),

    QUERY_FEE(4, "QUERY_FEE", "查询费率信息"),

    MODIFY_SETTLE(5, "MODIFY_SETTLE", "修改结算卡信息"),

    MODIFY_FEE(6, "MODIFY_FEE", "修改产品费率"),

    BIND_CARD(7, "BIND_CARD", "绑卡"),

    CONFIRM_BIND_SMS(8, "CONFIRM_BIND_SMS", "绑卡短信确认"),

    QUERY_BIND_CARD(9, "QUERY_BIND_CARD", "商户绑卡查询"),

    QUERY_BIND_CARDS(10, "QUERY_BIND_CARDS", "商户查询已绑卡"),

    PAY(11, "PAY", "支付交易"),

    QUERY_PAY(12, "QUERY_PAY", "支付交易查询"),

    WITHDRAW_DEPOSIT(13, "WITHDRAW_DEPOSIT", "代付提现"),

    QUERY_WITHDRAW(14, "QUERY_WITHDRAW", "代付提现查询"),

    QUERY_WALLET(15, "QUERY_WALLET", "查询余额"),

    ;

    final short code;
    final String value;
    final String desc;

    FreeQuickRequestType(int code, String value, String desc) {
        this.code = (short) code;
        this.value = value;
        this.desc = desc;
    }

    public short getCode() {
        return code;
    }

    public String getValue() {
        return value;
    }

    public String getDesc() {
        return desc;
    }
}
